package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.web.multipart.MultipartFile;

/**
 * 设备管理对象 equipment_manage
 * 
 * @author ruoyi
 * @date 2023-06-29
 */
@ApiModel("设备管理")
public class EquipmentManage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    @ApiModelProperty("设备管理")
    private Long id;

    /** 设备名称 */
    @ApiModelProperty("设备名称")
    @Excel(name = "设备名称")
    private String name;

    /** 设备sn号 */
    @ApiModelProperty("设备sn号")
    @Excel(name = "设备sn号")
    private String snNum;

    /** 井盖id */
    @ApiModelProperty("井盖id")
    @Excel(name = "井盖id")
    private Long coverId;
    @ApiModelProperty("井盖设备号")
    private String code;
    @ApiModelProperty("图片")
    private String img;
    @ApiModelProperty("设备负责人")
    private Integer uid;
    private String userName;
    private String deviceName;
    private Integer devTypeId;
    private String uname;
    private Integer flastId;
    private String label;

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public Integer getFlastId() {
        return flastId;
    }

    public void setFlastId(Integer flastId) {
        this.flastId = flastId;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public Integer getDevTypeId() {
        return devTypeId;
    }

    public void setDevTypeId(Integer devTypeId) {
        this.devTypeId = devTypeId;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String equipmentType;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long regionId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String region;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String address;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal lat;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal lng;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date latestTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String note;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long status;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long isWarn;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long isWarnToday;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long isRecoverToday;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long isUsed;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSnNum(String snNum) 
    {
        this.snNum = snNum;
    }

    public String getSnNum() 
    {
        return snNum;
    }
    public void setCoverId(Long coverId) 
    {
        this.coverId = coverId;
    }

    public Long getCoverId() 
    {
        return coverId;
    }
    public void setEquipmentType(String equipmentType) 
    {
        this.equipmentType = equipmentType;
    }
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getEquipmentType() 
    {
        return equipmentType;
    }
    public void setRegionId(Long regionId) 
    {
        this.regionId = regionId;
    }

    public Long getRegionId() 
    {
        return regionId;
    }
    public void setRegion(String region) 
    {
        this.region = region;
    }

    public String getRegion() 
    {
        return region;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setLat(BigDecimal lat) 
    {
        this.lat = lat;
    }

    public BigDecimal getLat() 
    {
        return lat;
    }
    public void setLng(BigDecimal lng) 
    {
        this.lng = lng;
    }

    public BigDecimal getLng() 
    {
        return lng;
    }
    public void setLatestTime(Date latestTime) 
    {
        this.latestTime = latestTime;
    }

    public Date getLatestTime() 
    {
        return latestTime;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setIsWarn(Long isWarn) 
    {
        this.isWarn = isWarn;
    }

    public Long getIsWarn() 
    {
        return isWarn;
    }
    public void setIsWarnToday(Long isWarnToday) 
    {
        this.isWarnToday = isWarnToday;
    }

    public Long getIsWarnToday() 
    {
        return isWarnToday;
    }
    public void setIsRecoverToday(Long isRecoverToday) 
    {
        this.isRecoverToday = isRecoverToday;
    }

    public Long getIsRecoverToday() 
    {
        return isRecoverToday;
    }
    public void setIsUsed(Long isUsed) 
    {
        this.isUsed = isUsed;
    }

    public Long getIsUsed() 
    {
        return isUsed;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("snNum", getSnNum())
            .append("coverId", getCoverId())
            .append("code",getCode())
            .append("equipmentType", getEquipmentType())
            .append("regionId", getRegionId())
            .append("region", getRegion())
            .append("address", getAddress())
            .append("lat", getLat())
            .append("lng", getLng())
            .append("latestTime", getLatestTime())
            .append("note", getNote())
            .append("status", getStatus())
            .append("isWarn", getIsWarn())
            .append("isWarnToday", getIsWarnToday())
            .append("isRecoverToday", getIsRecoverToday())
            .append("isUsed", getIsUsed())
            .toString();
    }
}
